package com.cskaoyan.model.vx.vo;

import java.math.BigDecimal;
import java.util.List;

public class WxCouponListVo {

    /**
     * total : 8
     * pages : 1
     * limit : 10
     * page : 1
     * list : [{"min":100,"name":"全场满减券100-99","discount":99,"days":5,"id":16,"tag":"11111","desc":"亏本赚口碑"},{"min":40,"name":"满减券996","discount":25,"days":30,"id":15,"tag":"5","desc":"5"},{"min":0,"name":"满减券2","discount":20,"days":30,"id":14,"tag":"","desc":""},{"min":20,"name":"满减券1","discount":9,"days":30,"id":13,"tag":"满减券1","desc":"满减券1"},{"min":19,"name":"满减券1234","discount":8,"days":30,"id":12,"tag":"满减券1234","desc":"满减券1234"},{"min":9,"name":"限时满减","discount":5,"days":30,"id":9,"tag":"所有商品无限制","desc":"所有商品"},{"min":99,"name":"限时满减券","discount":5,"days":10,"id":1,"tag":"无限制","desc":"全场通用"},{"min":99,"name":"限时满减券","discount":10,"days":10,"id":2,"tag":"无限制","desc":"全场通用"}]
     */
    private int total;
    private int pages;
    private int limit;
    private int page;
    private List<ListEntity> list;

    public void setTotal(int total) {
        this.total = total;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public void setList(List<ListEntity> list) {
        this.list = list;
    }

    public int getTotal() {
        return total;
    }

    public int getPages() {
        return pages;
    }

    public int getLimit() {
        return limit;
    }

    public int getPage() {
        return page;
    }

    public List<ListEntity> getList() {
        return list;
    }

    public static class ListEntity {
        /**
         * min : 100.0
         * name : 全场满减券100-99
         * discount : 99.0
         * days : 5
         * id : 16
         * tag : 11111
         * desc : 亏本赚口碑
         */
        private BigDecimal min;
        private String name;
        private BigDecimal discount;
        private int days;
        private int id;
        private String tag;
        private String desc;

        public void setMin(BigDecimal min) {
            this.min = min;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setDiscount(BigDecimal discount) {
            this.discount = discount;
        }

        public void setDays(int days) {
            this.days = days;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public BigDecimal getMin() {
            return min;
        }

        public String getName() {
            return name;
        }

        public BigDecimal getDiscount() {
            return discount;
        }

        public int getDays() {
            return days;
        }

        public int getId() {
            return id;
        }

        public String getTag() {
            return tag;
        }

        public String getDesc() {
            return desc;
        }
    }
}
